package com.ruoyi.video.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @author 兰剑
 * @version 1.0
 * @description: 分页返回
 * @date 2023/2/14 16:24
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class PageResult<T> implements Serializable {

    //总集
    private Long total;
    //记录集
    private List<T> records;

}
